class CreateCompromisos < ActiveRecord::Migration
  def self.up
    create_table :compromisos do |t|
      t.column  :descripcion,  :text
      t.column  :responsable,  :integer,  :null => false
      t.column  :importe,      :decimal,  :null => true
    end
  end

  def self.down
    drop_table :compromisos
  end
end
